|
|
|
|
ForeColorSelected Property, ItemClass Class |
Defines the foreground color of the item's cells, if the item is selected.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
VB |
Public Property ForeColorSelected As Color |
C# |
public Color ForeColorSelected { get; set; } |
C++ |
public: property Color ForeColorSelected { |
Property Value
The foreground color or Color.Empty.
The default value is Color.Empty.
Comments
The ForeColorSelected property defines the foreground color of the item's cells, if the item is selected.
If the foreground color is set to Color.Empty, the following properties are used instead: ColumnClass.ForeColorSelected or ForeColorSelected for items, Headers.ForeColorSelected for column headers, Footers.ForeColorSelected for column footers. Individual selected cells can define their foreground color using the CellBaseClass.ForeColorSelected property.
If an item is not considered selected, the ForeColor property is used to define the foreground color instead.